package com.lsu.factory.experiment;

/**
 * 测试
 *
 * @Author wang suo
 * @Date 2020/11/27 0027 21:46
 * @Version 1.0
 */
public class Test {
    public static void main(String[] args) {
        ShowDepositSlip showDepositSlip = new ShowDepositSlip();
        Bank bank = new GongShangBank();
        showDepositSlip.showDepositSlip(bank, "12345678", "朱鑫淼", 1000);
        showDepositSlip.setLocation(20, 20);
        showDepositSlip = new ShowDepositSlip();
        bank = new JianSheBank();
        showDepositSlip.showDepositSlip(bank, "12345679", "赵成亨", 2000);
        showDepositSlip.setLocation(240, 20);
        showDepositSlip = new ShowDepositSlip();
        bank = new ZhongGuoBank();
        showDepositSlip.showDepositSlip(bank, "92345678", "王硕", 3000);
        showDepositSlip.setLocation(460, 20);
    }
}
